package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author：Administrator
 * @Date：2023/4/27 14:10
 */
@Getter
@Setter
@Table(name = "t_order_program")
@TableName(value = "t_order_program")
public class OrderProgramEntity{

    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 工单关联主程序快照
     */
    @Column(name = "order_program_param",type = MySqlTypeConstant.TEXT)
    @TableField("order_program_param")
    private String orderProgramParam;

    /**
     * 工单关联子程序快照
     */
    @Column(name = "order_sub_program_param",type = MySqlTypeConstant.TEXT)
    @TableField("order_sub_program_param")
    private String orderSubProgramParam;

    /**
     * 工单工序快照序号
     */
    @Column(name = "seq",type = MySqlTypeConstant.TINYINT)
    @TableField("seq")
    private Integer seq;

    /**
     * 工单编码
     */
    @Column(name = "task_id",type = MySqlTypeConstant.VARCHAR,length = 200)
    @TableField("task_id")
    private String taskId;

    /**
     * 工单编码
     */
    @Column(name = "process_craft_name",type = MySqlTypeConstant.VARCHAR,length = 200)
    @TableField("process_craft_name")
    private String processCraftName;

    /**
     * 设备分类
     */
    @Column(name = "equipment_type_group",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("equipment_type_group")
    private String equipmentTypeGroup;

    /**
     * 设备id
     */
    @Column(name = "equipment_id",type = MySqlTypeConstant.INT,length = 11)
    @TableField("equipment_id")
    private Integer equipmentId;


    /**
     * 设备名称
     */
    @Column(name = "equipment_name",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("equipment_name")
    private String equipmentName;


}
